# -*-Mode: tcl -*-
# ============================================================
# TMakefile for ifgi
# Copyright (C) 2010-2012 Yamauchi Hitoshi
# Sunday Researcher
# ============================================================
module { cxx gtest }
module { run_unittest }

lappend link::PROJLIBS cpp/base

# not yet ready
# lappend EXCLUDE test_Primitive.cpp

# for OpenMP
# lappend cxx::FLAGS "-fopenmp"
# lappend link::FLAGS "-fopenmp"


#
# additional clean entry
#
target core_bk_clean ALWAYS_BUILD {
    set deletebakupfile [glob -nocomplain *~]
    append deletebakupfile " core a.out TAGS"
    append deletebakupfile " test_film_result.ppm"
    append deletebakupfile " test_film_result.gfi"
    append deletebakupfile " res_ray_tri_intersect.ppm"
    puts -nonewline "file delete -- "
    foreach f ${deletebakupfile} {
	file delete -force -- ${f}
	puts -nonewline "${f} "
    }
    puts ""
}
depend clean core_bk_clean
